Skip to content

refactor: remove landing page and documentation pages from frontend - #53

Merged
Sbussiso merged 1 commit into
masterfrom
refactor/remove-landing-and-docs-pages
Jul 4, 2026
Merged

refactor: remove landing page and documentation pages from frontend#53
Sbussiso merged 1 commit into
masterfrom
refactor/remove-landing-and-docs-pages

Conversation

@Sbussiso

@Sbussiso Sbussiso commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Platform-only refactor — landing/docs now on sentinel-command.com

The marketing landing page, documentation, pricing, legal, and security pages now live on the standalone website at sentinel-command.com. This repo becomes the platform-only app (backend API + authenticated frontend).

Removed (35 files, ~10,900 lines)

Pages: LandingPage, DocsPage, PricingPage, LegalPage, SecurityPage, SentinelPage + entire pages/docs/ directory (22 doc .jsx files)
Components: LandingNav, LandingFooter, PublicLayout, DocsDiagrams
Styles: landing.css (2,500 lines)
Tests: DocsPage.test.jsx, DocsDiagrams.test.jsx

Updated (5 files)

  • App.jsx — removed 6 route imports + SmartLayout; / redirects to https://sentinel-command.com
  • AppSidebar.jsx — removed /sentinel, /docs, /pricing nav links
  • index.css — removed @import of deleted landing.css
  • backend/app/api/well_known.py — security.txt Policy: URL now points at sentinel-command.com/security#vulnerability-disclosure
  • backend/tests/test_security_txt.py — updated anchor test to match new URL

What stays (the actual platform)

  • All backend code (API routes, models, MCP, core)
  • All app pages: Dashboard, Settings, Admin, MCP, Integrations, Incidents, SignIn, SignUp
  • All app components (CameraCard, HlsPlayer, etc.)
  • All markdown docs, image specs, repo assets (mirrored to sentinel-website by the sync workflow)

Verified

  • ✅ Frontend builds clean (npm run build, 353ms, no errors)
  • ✅ Backend security.txt tests pass (11/11)

@Sbussiso
Sbussiso force-pushed the refactor/remove-landing-and-docs-pages branch 2 times, most recently from 7828765 to 02e8d5e Compare July 4, 2026 21:51
…ross codebase

Remove the marketing landing page, documentation, pricing (kept),
legal, and security pages from the frontend — they now live on the
standalone website at sentinel-command.com (GitHub Pages).

Rename the entire opensentry → sentinel brand across the codebase:
- Fly app: opensentry-command → sentinel-command
- FRONTEND_URL: opensentry-command.fly.dev → app.sentinel-command.com
- Volume: opensentry_data → sentinel_data
- Database: opensentry.db → sentinel.db
- Package names: opensentry-backend/frontend → sentinel-backend/frontend
- MCP server name: opensentry → sentinel
- CI workflows: deploy.yml + backup.yml → sentinel-command
- All install scripts, setup scripts, docs, runbooks

86+ replacements across 25+ files. Remaining 'opensentry' references
are intentional: AGENTS.md brand-history note (grep-discoverability),
test fixture URLs (opensentry.example.com), and historical Sentry
alert IDs (OPENSENTRY-COMMAND-1).

Deployed and verified live at app.sentinel-command.com.
@Sbussiso
Sbussiso force-pushed the refactor/remove-landing-and-docs-pages branch from 02e8d5e to 4a78f29 Compare July 4, 2026 23:28
@Sbussiso
Sbussiso merged commit 92d6f83 into master Jul 4, 2026
9 of 10 checks passed
@Sbussiso
Sbussiso deleted the refactor/remove-landing-and-docs-pages branch July 4, 2026 23:41
Sbussiso added a commit that referenced this pull request Jul 5, 2026
PR #53 refactored the security.txt Policy: URL to point at the
standalone sentinel-command.com site, leaving the old
`base = (settings.FRONTEND_URL or "").rstrip("/")` assignment in
`_build_security_txt` orphaned -- ruff F841 (local variable assigned
but never used) then failed the 'Lint with ruff' step in the
'Test & Deploy' workflow (run #421).

Remove the dead assignment. The `base` in `_build_canonical_url`
(line 63, returned on line 64) is still used and untouched.

Verified locally: `ruff check backend/app/api/well_known.py` ->
All checks passed.

Refs: GitHub Actions run 28723355198
Commit: 92d6f83

Co-authored-by: Hermes Coder <hermes-coder@noreply.local>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant